From: Debian LibreOffice Maintainers Date: Sun, 28 Aug 2022 17:22:27 +0000 (+0100) Subject: jurt-soffice-location X-Git-Tag: archive/raspbian/1%7.0.4-4+rpi1+deb11u3^2~59 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de/%22style.css/%22node%24level1.html//%22Programmet/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de/%22style.css/%22node%24level1.html/%22Programmet?a=commitdiff_plain;h=5184c6efb30f6aae92c080711eef0c1f53ce46b2;p=libreoffice.git jurt-soffice-location commit b71107fb12e3c3125e0cb62c5a4f6636a80c6408 Author: Bjoern Michaelsen AuthorDate: Tue Jun 7 11:52:37 2011 +0200 Commit: Bjoern Michaelsen CommitDate: Tue Jun 7 11:52:37 2011 +0200 on debian-based systems, we know where our soffice binary is Gbp-Pq: Name jurt-soffice-location.diff --- diff --git a/ridljar/com/sun/star/lib/util/NativeLibraryLoader.java b/ridljar/com/sun/star/lib/util/NativeLibraryLoader.java index eb5c6af34e9..241e33f890e 100644 --- a/ridljar/com/sun/star/lib/util/NativeLibraryLoader.java +++ b/ridljar/com/sun/star/lib/util/NativeLibraryLoader.java @@ -123,6 +123,8 @@ public final class NativeLibraryLoader { } } } + if (name.equals("soffice")) + return new File("/usr/lib/libreoffice/program/soffice"); return null; }